
package com.zhb.cms.eureka;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.boot.SpringApplication;
/**
 * 
* @ClassName: EurekaServer 
* @Description: 注册服务器 
* @owner 张海滨  zhanghb22 
* @author 张海滨  zhanghb22 
* @date 2017年4月29日 上午6:18:32 
*
 */
@SpringBootApplication
@EnableEurekaServer
public class EurekaServer {
	public static void main(String[] args) {
        SpringApplication.run(EurekaServer.class, args);
        String errorString="emergency! eureka may be incorrectly claiming instances are up when they're not. renewals are lesser than threshold and hence the instances are not being expired just to be safe.";
        errorString="the self preservation mode is turned off.this may not protect instance expiry in case of network/other problems.";
    }
}
